package com.nacos.demo.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author hh
 * @since 2023/2/11
 */
@Data
@ConfigurationProperties(value = "nacos.demo.config", ignoreInvalidFields = true)
public class CustomProperties {

    private String name;
    private String desc;

    private String other;

    private String commonKey;

    // private static class OtherConfig{
    //     private String key;
    //     private String value;
    // }

}
